#ifndef  GLOBAL__H
#define  GLOBAL__H

#include "includes.h"

extern uint8_t g_allowchg;
extern uint8_t chgover;
extern uint16_t g_reqChgCur;
extern uint8_t chgStep;

extern uint32_t timeCehck[];
extern uint32_t systickCount;
extern uint8_t  Can_gt[];

extern uint8_t debugBuf[];
extern uint16_t debugLen;

void SysTick_Delay_Ms( __IO uint32_t ms);
void RCC_Configuration(void);

void delay_init(void);
void delay_ms(u16 nms);

#endif
